﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ChBusiness.User;

/// <summary>
/// BasePage 的摘要说明
/// </summary>
public class BasePage:System.Web.UI.Page
{
    public BasePage()
    {
        
    }

    /// <summary>
    /// 设置顶部的隐藏
    /// </summary>
    /// <param name="pgTemp">Page对象</param>
    public static void SetTopVisible(System.Web.UI.Page pgTemp)
    {
        string strScriptReg = "HideSplit('Content');";

        //默认关闭左边和上边的控件       
        strScriptReg += "HideSplit('TopImg');";
        strScriptReg += "HideSplit('Tree');";

        pgTemp.ClientScript.RegisterStartupScript(pgTemp.GetType(), "Hidden1", strScriptReg, true);
    }
    
}
